<h1 class="user-title">{{title}}</h1>
<form class="searchForm form-inline">
  <div class="form-group">
    <input type="text" id="search" class="form-control" ng-model="content" placeholder="用户名/商户号">
    <button type="submit" class="btn btn-primary" ng-click="search()"><i class="glyphicon glyphicon-search"></i></button>
  </div>
</form>
<table class="table table-bordered table-hover">
  <thead>
  <tr>
    <th >序号</th>
    <th >用户名</th>
    <th>商户号</th>
    <th >修改密码</th>
    <th>删除</th>
  </tr>
  </thead>
  <tbody>
  <tr ng-repeat="user in items">
    <th>{{$index+1+(p_current-1)*15}}</th>
    <td>{{user.username}}</td>
    <td>{{user.appid}}</td>
    <td><a href="/#/resetPsw/{{user._id}}"><span class="glyphicon glyphicon-pencil"></span></a></td>
    <td ><a href="/#/deleteSendUser/{{user._id}}" ng-if="user.username!='admin'"><span class="glyphicon glyphicon-remove"></span></a></td>
  </tr>
  </tbody>
</table>
<nav>
  <ul class="pagination">
    <li>
      <a ng-click="First()">
        <span>首页</span>
      </a>
    </li>
    <li>
      <a ng-click="Previous()">
        <span>上一页</span>
      </a>
    </li>
    <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
      <a ng-click="selectPage(page)" >{{ page }}</a>
    </li>
    <li>
      <a ng-click="Next()">
        <span>下一页</span>
      </a>
    </li><li>
    <a ng-click="Last()">
      <span>尾页</span>
    </a>
  </li>
  </ul>
</nav>